home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Documentation / Tech Notes & Articles / Recipes / Storage / OpenDoc Draft < prev    next >
Encoding:
Text File  |  1995-04-22  |  1.1 KB  |  104 lines  |  [TEXT/ttxt]

  1. OpenDocâ„¢ Recipes
  2.  
  3. OpenDoc Draft
  4. By The OpenDoc Design Team
  5. April 18, 1995.
  6.  
  7.  
  8. © 1993-1995  Apple Computer, Inc. All Rights Reserved.
  9. Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc.
  10. Mac and OpenDoc are trademarks of Apple Computer, Inc. 
  11.  
  12.  
  13. Overview
  14.  
  15. This document shows the relationship of Storage Units in a Draft.
  16.  
  17. Draft and Persistent Storage
  18.  
  19. The first diagram shows an example document with a TextPart Embedded in a DrawPart.
  20. The second diagram shows the relationship of the Storage Units of the example document when the document is saved to Persistent Storage. Note that this diagram is simplified in a couple of ways:
  21.  
  22. 1)    Storage Unit Values are not shown.
  23.  
  24. 2)    The Property kODPropContents is assumed not to have other references other than those
  25.     to the Frames. This is usually not the case.
  26.  
  27. 3)    It is a standard that Display Frames are stored in a Property. Please see the Display Frame 'ternalization recipe in Part Persistency for more info.  They are stored in    the Part's Storage Unit, and should only be weakly referenced.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.